public class LByteSearcher
extends java.lang.Object
| Constructor and Description |
|---|
LByteSearcher(byte[]... targets_)
Creates a searcher object that will look for the given target bytes.
|
LByteSearcher(int target)
Creates a search object that will look for the target int.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
next(char in)
Inform the searcher of the next input, and receive feedback if something was found.
|
byte[] |
next(char in,
java.io.BufferedInputStream input)
Specialized next function that marks the stream unless a portion of a target is
found, which allows you to reset and get to the stream at the start of the target
once one is found.
|
byte[] |
next(int in)
Inform the searcher of the next input, and receive feedback if something was found.
|
byte[] |
next(int in,
java.io.BufferedInputStream input)
Specialized next function that marks the stream unless a portion of a target is
found, which allows you to reset and get to the stream at the start of the target
once one is found.
|
public LByteSearcher(byte[]... targets_)
targets_ - Strings to look for.public LByteSearcher(int target)
target - public byte[] next(int in)
in - The next inputpublic byte[] next(char in)
in - The next inputpublic byte[] next(int in,
java.io.BufferedInputStream input)
in - The next inputinput - Stream to mark.public byte[] next(char in,
java.io.BufferedInputStream input)
in - The next inputinput - Stream to mark.